<tr>    
    <td class="input disabled<?php echo LGHelpers::checkVNFieldChanged($updated_fields, 'beginning_year');?>"><?php            
    echo  CHtml::activeTextField($model, '[0][' . $index . ']beginning_year', array('disabled'=>'true'));    
    ?></td>			    
    <td class="input disabled <?php echo LGHelpers::checkVNFieldChanged($updated_fields, 'ending_year');?>"><?php            
    echo  CHtml::activeTextField($model, '[0][' . $index . ']ending_year', array('disabled'=>'true'));    
    ?></td>    
    <td class="input disabled <?php echo LGHelpers::checkVNFieldChanged($updated_fields, 'academy_level');?>"><?php
    echo  CHtml::activeTextField($model, '[0][' . $index . ']academy_level', array('disabled'=>'true'));    
    ?></td>    
    <td class="input disabled<?php echo LGHelpers::checkVNFieldChanged($updated_fields, 'school_name');?>"><?php            
    echo  CHtml::activeTextField($model, '[0][' . $index . ']school_name', array('disabled'=>'true'));
    ?></td>        
</tr>
<tr>    
    <td><?php            
    echo  CHtml::activeTextField($translatedModel, '[1][' . $index . ']beginning_year');
    ?></td>			    
    <td ><?php            
    echo  CHtml::activeTextField($translatedModel, '[1][' . $index . ']ending_year');
    ?></td>    
    <td ><?php            
    echo  CHtml::activeTextField($translatedModel, '[1][' . $index . ']academy_level');
    ?></td>    
    <td ><?php            
    echo  CHtml::activeTextField($translatedModel, '[1][' . $index . ']school_name');
    ?></td>        
</tr>

<?php
Yii::app()->clientScript->registerScript('deleteProcess', "
function deleteProcess(elm, index)
{
    element=$(elm).parent().parent();
    /* animate div */    
    $(element).remove();    
}", CClientScript::POS_END);
